package cn.zhujs.org.service;

import cn.zhujs.basic.util.PageList;
import cn.zhujs.org.domain.Department;
import cn.zhujs.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {
    //保存
    void add(Department department);
    //删除
    void remove(Long id);
    //修改
    void update(Department department);
    //查询一条数据
    Department queryById(Long id);
    //查询所有数据
    List<Department> queryAll();

    //分页+高级查询
    PageList queryPage(DepartmentQuery departmentQuery);



}
